<?php
$this->breadcrumbs=array(
	'Anggaran'=>'#',
	'SKmpnen',
);

$this->menu=array(
	array('label'=>'List DSkmpnen','url'=>array('index')),
	array('label'=>'Create DSkmpnen','url'=>array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$.fn.yiiGridView.update('dskmpnen-grid', {
		data: $(this).serialize()
	});
	return false;
});
");
?>


<div id="bungkus">
    <?php $this->widget('bootstrap.widgets.BootGridView',array(
	'id'=>'dskmpnen-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'THANG',
		array(
                        'name'=>'KDSATKER',
                        'value'=>'$data->satker->NMSATKER',
                ),
                array(
                        'name'=>'KDPROGRAM',
                        'value'=>'$data->program->NMPROGRAM',
                ),
                
               // array(
                 //       'name'=>'KDDEPT',
                   //     'value'=>'$data->dept->NMDEPT',
                //),
                array(
                        'name'=>'KDGIAT',
                        'value'=>'$data->giat->NMGIAT',
                ),
               // 'URSKMPNEN',
		'KDOUTPUT',
		//'KDLOKASI',
		//'KDKABKOTA',
		//'KDDEKON',
		'KDSOUTPUT',
		'KDKMPNEN',
		'KDSKMPNEN',
		'URSKMPNEN',
		//'KDIB',
		
		
	),
)); ?>
</div>

